package com.qdlc.p2p.biz.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.qdlc.p2p.biz.service.NoticeConfigService;
import com.qdlc.p2p.dal.common.model.jpa.PageDataList;
import com.qdlc.p2p.dal.dao.NoticeConfigDao;
import com.qdlc.p2p.dal.dto.NoticeConfig;

/**
 * 通知配置
 * 
 * @author zxc
 * @date 2013-4-12
 * @version 2.0
 */
@Service("noticeConfigService")
public class NoticeConfigServiceImpl implements NoticeConfigService {

	@Resource
	private NoticeConfigDao noticeConfigDao;

	/**
	 * 通知配置列表
	 */
	@Override
	public PageDataList<NoticeConfig> list(int page) {
		return noticeConfigDao.list(page);
	}

	@Override
	public void save(NoticeConfig noticeConfig) {
		noticeConfigDao.save(noticeConfig);
	}
}
